<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title><s:property value='%{getText("t_edit_title")}' /></title>
<link href="/SCMDB/style/SuperEdit.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/SCMDB/js/Super.js"></script>

</head>
<body>
<div class="main">
<s:form action="userAction!editUser.action" onsubmit="return false;" method="post" theme="simple">
   <!-- 主体开始 -->
   <table border="0" cellpadding="1" cellspacing="1" class="tableModify">	  
   <s:iterator id="user" value="#request.userList">
	  <tr>
	    <th><s:property value='%{getText("u_name")}' />:<s:hidden name="id"/></th>
	    <td><s:textfield name="userName" cssClass="sInput" title="用户名" /> <span style="color:red">*</span><input type="hidden" value="must-input"/></td>
	  </tr>
	  <tr>
	    <th><s:property value='%{getText("u_pw")}' /></th>
	    <td><s:password name="passWord" cssClass="sInput" title="密码" /> <span style="color:red">*</span><input type="hidden" value="must-input"/></td>
	  </tr>	
	  <tr>
	    <th><s:property value='%{getText("u_pw1")}' /></th>
	    <td><s:password name="passWord" cssClass="sInput" title="重复密码" /> <span style="color:red">*</span><input type="hidden" value="must-input"/></td>
	  </tr>
 	  <tr>
	    <th><s:property value='%{getText("u_role")}' />:</th>
	    <td><s:select list="#request.roleList" name="idRole" listKey="id" listValue="name" ></s:select></td>
	  </tr>	
	  </s:iterator>
	 </table> 
  <!-- 主体结束 -->  
  </s:form>
</div>
</body>
</html>

